let count = 0;
const btn = document.getElementById('fightBtn');
const counter = document.getElementById('counter');

btn.addEventListener('click', () => {
    count++;
    counter.textContent = `已消灭: ${count}个鬼子`;
    btn.textContent = '继续消灭!';
});